package com.investmenttechnologyservices.model;

import java.util.Date;

import javax.persistence.Id;

import com.googlecode.objectify.Key;
import com.googlecode.objectify.annotation.NotSaved;
import com.googlecode.objectify.annotation.Parent;
import com.googlecode.objectify.annotation.Unindexed;
import com.googlecode.objectify.condition.IfDefault;

public class AnalyticsEODListed {
	@Id Long id;
	@Parent Key<Symbol> symbol;
	Date quoteDate ;
	
	//Equity
	@Unindexed @NotSaved(IfDefault.class) Double Beta = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double divYield = 0.0;
	
	// Fixed Coupon
	@Unindexed @NotSaved(IfDefault.class) Double durationTM = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double durationTW = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double durationTC = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double modDurationTM = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double modDurationTW = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double modDurationTC = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double convexityTM = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double convexityTW = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double convexityTC = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double yieldTM = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double yieldTW = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double yieldTC = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double lifeTM = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double lifeTW = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double lifeTC = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double currentYield = 0.0;
	
	// Options
	@Unindexed @NotSaved(IfDefault.class) Double delta = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double gamma = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double lambda = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double rho = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double theta = 0.0;
	@Unindexed @NotSaved(IfDefault.class) Double vega = 0.0;

}
